/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Wszystkie funkcje działaja
 * @author piotrek
 */
@Controller
public class MainController {

    public MainController( ) {

	}

	/**
	 * @param id
	 * @param model
	 * @return
	 * @throws Exception
	 */
	@RequestMapping( value="/index" )
    protected String MainPage( ) throws Exception {

		return "index";

    }


}
